package com.lijie.bs_recruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.lijie.bs_recruit.model.User;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李杰
 * @since 2021-03-15
 */
public interface UserService extends IService<User> {
    Map<String,Object> login(String username,String password);

    User getUserByUsername(String username);

    //查所有的user
    PageInfo<User> selUserPage(Integer page, User user);
}
